Skip to content

Refine tracing exemplar inclusion configuration#49594

Open
answndud wants to merge 1 commit intospring-projects:mainfrom
answndud:codex/exemplar-include-49572
Open

Refine tracing exemplar inclusion configuration#49594
answndud wants to merge 1 commit intospring-projects:mainfrom
answndud:codex/exemplar-include-49572

Conversation

@answndud
Copy link
Contributor

Summary

  • rename management.tracing.exemplars.filter to management.tracing.exemplars.include and align the values with all, none, and sampled-traces
  • stop registering OTLP and Prometheus exemplar support beans when exemplar inclusion is none
  • update the tracing docs and regression tests for the revised property and behavior

Testing

  • ./gradlew :module:spring-boot-micrometer-tracing:test --tests org.springframework.boot.micrometer.tracing.autoconfigure.otlp.LazyTracingExemplarContextProviderTests --tests org.springframework.boot.micrometer.tracing.autoconfigure.prometheus.LazyTracingSpanContextTests :module:spring-boot-micrometer-tracing-brave:test --tests org.springframework.boot.micrometer.tracing.brave.autoconfigure.OtlpExemplarsAutoConfigurationTests --tests org.springframework.boot.micrometer.tracing.brave.autoconfigure.PrometheusExemplarsAutoConfigurationTests

Fixes #49572

Signed-off-by: MJY <jmoon0227@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add more fine-grained support for selecting metric exemplars

2 participants